home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 9368 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  622 b 

  1. Path: ntc.nokia.com!tnclus!jrossi
  2. From: jrossi@tnclus.tele.nokia.fi
  3. Newsgroups: comp.lang.c++
  4. Subject: How can i load bitmap ???
  5. Date: 1 Mar 96 12:45:39 EET
  6. Organization: Nokia Telecommunications.
  7. Message-ID: <1996Mar1.124539.1@tnclus>
  8. NNTP-Posting-Host: tne02.ntc.nokia.com
  9.  
  10. How can i load bitmaps to my program?
  11.  
  12. I try following:
  13.  
  14. //variables
  15. HINSTANCE hinst;
  16.         .
  17.         .
  18.         .
  19. hBitmap = LoadBitmap(hinst, "Picture");
  20.  
  21. I place this line to main program but hBitmap gets every time value NULL when i
  22. try execute this.
  23.  
  24. What's wrong in my program. 
  25.  
  26. "Picture" is picture which i created in Resource workshop.
  27.  
  28.